//
//  AppointmentViewController.h
//  Service4U
//
//  Created by Hai Nguyen on 10/5/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "S4UController.h"
#import <MessageUI/MessageUI.h>

@interface AppointmentViewController : S4UController <MFMessageComposeViewControllerDelegate>{
	UIScrollView *scrollView;
	UILabel *titleBarLabel;
	UILabel *proposedDateLabel;
	UILabel *proposedTimeLabel;
	UILabel *yourRequireLabel;
	UILabel *genderLabel;
	UILabel *firstNameLabel;
	UILabel *lastNameLabel;
	UILabel *phoneLabel;
	UILabel *emailLabel;
	UILabel *femaleLabel;
	UILabel *maleLabel;
	UILabel *dateLabel;
	UILabel *hourTimeLabel;
	UILabel *optionRequestLabel;
	UILabel *optionEmailLabel;
	UILabel *reqireFirstNameLabel;
	UILabel *reqireLastNameLabel;
	UILabel *reqirePhoneLabel;
	UITextView *yourRequestTextView;
	UITextField *firstNameField;
	UITextField *lastNameField;
	UITextField *phoneField;
	UITextField *emailField;
	UIButton *femaleCheckbox;
	UIButton *maleCheckbox;
	UIButton *submitButton;
	UIButton *resetButton;
	UIButton *cancelButton;
	UIButton *proposedDateButton;
	UIButton *proposedTimeButton;
	UIButton *hideKeyboardButton;
	UIView *inputTextViewView;
	UIImageView *inputTextViewBakground;
	UIButton *inputTextViewButton;
	UIView *pickerView;
	UIDatePicker *timePicker;
	UIImageView *pickerDoneBackground;
	UIButton *pickerDoneButton;
	BOOL isProposedDate;
 }

@property (nonatomic, assign) 	BOOL isProposedDate;
@property (nonatomic, retain) IBOutlet UIImageView *pickerDoneBackground;
@property (nonatomic, retain) IBOutlet UIButton *pickerDoneButton;
@property (nonatomic, retain) IBOutlet UIView *pickerView;
@property (nonatomic, retain) IBOutlet UIDatePicker *timePicker;
@property (nonatomic, retain) IBOutlet UIScrollView *scrollView;
@property (nonatomic, retain) IBOutlet UILabel *titleBarLabel;
@property (nonatomic, retain) IBOutlet UILabel *proposedDateLabel;
@property (nonatomic, retain) IBOutlet UILabel *proposedTimeLabel;
@property (nonatomic, retain) IBOutlet UILabel *yourRequireLabel;
@property (nonatomic, retain) IBOutlet UILabel *genderLabel;
@property (nonatomic, retain) IBOutlet UILabel *firstNameLabel;
@property (nonatomic, retain) IBOutlet UILabel *lastNameLabel;
@property (nonatomic, retain) IBOutlet UILabel *phoneLabel;
@property (nonatomic, retain) IBOutlet UILabel *emailLabel;
@property (nonatomic, retain) IBOutlet UILabel *femaleLabel;
@property (nonatomic, retain) IBOutlet UILabel *maleLabel;
@property (nonatomic, retain) IBOutlet UILabel *dateLabel;
@property (nonatomic, retain) IBOutlet UILabel *hourTimeLabel;
@property (nonatomic, retain) IBOutlet UILabel *optionRequestLabel;
@property (nonatomic, retain) IBOutlet UILabel *optionEmailLabel;
@property (nonatomic, retain) IBOutlet UILabel *reqireFirstNameLabel;
@property (nonatomic, retain) IBOutlet UILabel *reqireLastNameLabel;
@property (nonatomic, retain) IBOutlet UILabel *reqirePhoneLabel;
@property (nonatomic, retain) IBOutlet UITextView *yourRequestTextView;;
@property (nonatomic, retain) IBOutlet UITextField *firstNameField;
@property (nonatomic, retain) IBOutlet UITextField *lastNameField;
@property (nonatomic, retain) IBOutlet UITextField *phoneField;
@property (nonatomic, retain) IBOutlet UITextField *emailField;
@property (nonatomic, retain) IBOutlet UIButton *femaleCheckbox;
@property (nonatomic, retain) IBOutlet UIButton *maleCheckbox;
@property (nonatomic, retain) IBOutlet UIButton *submitButton;
@property (nonatomic, retain) IBOutlet UIButton *resetButton;
@property (nonatomic, retain) IBOutlet UIButton *cancelButton;
@property (nonatomic, retain) IBOutlet UIButton *proposedDateButton;
@property (nonatomic, retain) IBOutlet UIButton *proposedTimeButton;
@property (nonatomic, retain) IBOutlet UIButton *hideKeyboardButton;
@property (nonatomic, retain) IBOutlet UIView *inputTextViewView;
@property (nonatomic, retain) IBOutlet UIImageView *inputTextViewBakground;
@property (nonatomic, retain) IBOutlet UIButton *inputTextViewButton;

- (IBAction) checkboxGenderPressed:(id)sender;
- (IBAction) hideKeyboardButtonPressed:(id)sender;
- (IBAction) doneButtonPressed;
- (IBAction) resetButtonPressed;
- (IBAction) submitButtonPressed;
- (IBAction) showPickerView:(id) sender;
- (IBAction) hidePickerView:(id) sender;
- (void) setCurrentDateTime;

@end
